<%@ page pageEncoding="utf-8"%>
<%@ include file="/common/taglibs.jsp"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312" />
<title>
无标题文档
</title>
<style type="text/css">
<!--
body {
	margin-left: 0px;
	margin-top: 0px;
	margin-right: 0px;
	margin-bottom: 0px;
}
-->
</style>
<!--link href="./styles/css.css" rel="stylesheet" type="text/css" /-->
<link rel="stylesheet" type="text/css" media="all"	href="<c:url value='/styles/layout.css'/>" />
<script type="text/JavaScript">
<!--
function MM_swapImgRestore() { //v3.0
  var i,x,a=document.MM_sr; for(i=0;a&&i<a.length&&(x=a[i])&&x.oSrc;i++) x.src=x.oSrc;
}

function MM_preloadImages() { //v3.0
  var d=document; if(d.images){ if(!d.MM_p) d.MM_p=new Array();
    var i,j=d.MM_p.length,a=MM_preloadImages.arguments; for(i=0; i<a.length; i++)
    if (a[i].indexOf("#")!=0){ d.MM_p[j]=new Image; d.MM_p[j++].src=a[i];}}
}

function MM_findObj(n, d) { //v4.01
  var p,i,x;  if(!d) d=document; if((p=n.indexOf("?"))>0&&parent.frames.length) {
    d=parent.frames[n.substring(p+1)].document; n=n.substring(0,p);}
  if(!(x=d[n])&&d.all) x=d.all[n]; for (i=0;!x&&i<d.forms.length;i++) x=d.forms[i][n];
  for(i=0;!x&&d.layers&&i<d.layers.length;i++) x=MM_findObj(n,d.layers[i].document);
  if(!x && d.getElementById) x=d.getElementById(n); return x;
}

function MM_swapImage() { //v3.0
  var i,j=0,x,a=MM_swapImage.arguments; document.MM_sr=new Array; for(i=0;i<(a.length-2);i+=3)
   if ((x=MM_findObj(a[i]))!=null){document.MM_sr[j++]=x; if(!x.oSrc) x.oSrc=x.src; x.src=a[i+2];}
}
//-->
</script>
</head>

<body
	onload="MM_preloadImages('images/last-2.gif','images/next-2.gif','images/previous-2.gif','images/first-2.gif')">
<form name="f1" method="post">
<table width="100%" height="100%" border="0" cellpadding="0" cellspacing="0">
  <tr> 
    <td class="home-content-title"><img src="images/home_ico_listTitle.gif" width="22" height="20" align="absmiddle"/>代办任务</td>
  </tr>


   <tr> 
    <td valign="top"> <table width="100%" height="100%" border="0" cellpadding="0" cellspacing="0">
        <tr> 
          <td class="home-table-topline"> </td>
        </tr>
        <tr> 
          <td class="home-table-leftline"><table width="100%" border="0" cellspacing="0" cellpadding="0">
              <tr> 
                <td class="home-table-tool-content02"><sasis:page items="${listWorkItemForm.workItemList}"/></td>
              </tr>
              <tr> 
                <td align="center" valign="top" class="home-edittable-space">	
		<table width="100%" border="0" cellpadding="2" cellspacing="0" class="list_bordercolor">
                    <tr>
                       <%--td width="7%" class="home-list-title" align="center">工作项ID</td--%>
                      <td width="11%" class="home-list-title" align="center">任务名称</td>
                      <td width="5%" class="home-list-title" align="center">参与人</td>
                      <%--td width="5%" class="home-list-title" align="center">优先级</td--%>
                      <td width="5%" class="home-list-title" align="center">状态</td>
                      <td width="5%" class="home-list-title" align="center">所属流程</td>
                      <td width="20%" class="home-list-title" align="center">详细信息</td>
                      <td width="5%" class="home-list-title" align="center">运行图片</td>
                      <td width="8%" class="home-list-title" align="center">工作项创建时间</td>
                    </tr>
					<logic:notEmpty name="listWorkItemForm" property="workItemList">
					<logic:iterate name="listWorkItemForm" property="workItemList" id="workItemList" indexId="index">
                   	<tr>
                      <%--td class="home-list-content" align="center">&nbsp;<bean:write name='workItemList' property="id" /></td--%>
                      <td class="home-list-content" align="center">
                      	&nbsp;<a href="./workItemInfo.html?method=list&workitemid=<bean:write name='workItemList' property='id' />&state=<bean:write name='workItemList' property='state' />" >
                      	<bean:write name='workItemList' property="name" /><%--<bean:write name='workItemList' property="taskInfo" />--%> 
                      	</a>
                      </td>
                      <td class="home-list-content" align="center">&nbsp;<bean:write name='workItemList' property="participant" /></td>
                      <%--td class="home-list-content" align="center">&nbsp;<bean:write name='workItemList' property="priorityVal" /> </td--%>
                      <td class="home-list-content" align="center">&nbsp;<bean:write name='workItemList' property="state" /></td>
                      <td class="home-list-content" align="center"><bean:write name='workItemList' property="processInstanceId" /></td>
					  <td class="home-list-content" align="center">&nbsp;</td>
                      <td class="home-list-content" align="center">
                      &nbsp;<a href='./ProcessPicture?procInstId=<c:out value="${workItemList.processInstanceId}"/>'>查看</a>
                      </td>
                      <td class="home-list-content" align="center">&nbsp;<bean:write name='workItemList' property="createTime" /></td>
                   </tr>
 				</logic:iterate>
				</logic:notEmpty>
                </table>
                </td>
              </tr>
            </table></td>
        </tr>
        <tr> 
          <td height="12"> <table width="100%" border="0" cellspacing="0" cellpadding="0">
              <tr> 
                <td class="home-table-bottom-left">&nbsp;</td>
                <td class="home-table-bottom-bg">&nbsp;</td>
                <td class="home-table-bottom-right">&nbsp;</td>
              </tr>
            </table></td>
        </tr>
      </table></td>
  </tr>
  <tr> 
    <td height="10">&nbsp;</td>
  </tr>
</table>
</form>
</body>
</html>

